package cc.jq1024.infrastructure.persistent.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 规则树节点
 * </p>
 *
 * @author lijiaqiang@ljq1024.cc
 * @since 2024-04-17
 */
@Data
@TableName("rule_tree_node")
public class RuleTreeNodePO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 规则树ID
     */
    @TableField("tree_id")
    private String treeId;

    /**
     * 规则Key
     */
    @TableField("rule_key")
    private String ruleKey;

    /**
     * 规则描述
     */
    @TableField("rule_desc")
    private String ruleDesc;

    /**
     * 规则比值
     */
    @TableField("rule_value")
    private String ruleValue;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;


}
